* {
    margin: 0; /* 去掉默认外边距 */
    padding: 0; /* 去掉默认内边距*/
    list-style: none; /* 去掉li默认样式 */
    text-decoration: none; /*去除下划线*/
    color: dimgray; /* 默认字体颜色 */
}

body { /*页面  背景色*/
    background-color: lavenderblush;
    background-image: url('../img/bgi.png');
    background-size: 100%;
}

div {
    padding: 18px;
}

table, td {
    border: 0px;
}

img {
    border-radius: 5px;
}

a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bolder;
}

.hello {
    background-color: lavenderblush;
    background-image: url("../img/bgi.png");
    background-size: 100%;
    position: fixed;
    width: 100%;
    height: 100%;
    padding-top: 300px;
    font-size: 30px;
    text-align: center;
}

.hello p {
    font-size: 18px;
}

header { /*头部  背景色*/
    background-color: lightgray;
    padding: 5px;
}

header .logo {
    height: 50px;
    margin-left: 25px;
}

header .bar {
    padding: 10px;
}

header .bar img {
    height: 40px;
    margin-right: 25px;
}


.box { /*内容 宽度，居中*/
    width: 1200px;
    margin: auto;
}

.centre { /*主体  背景色 高度（删） 内边距上30*/
    background-color: lavender;
    background-image: url(../img/bgi2.png);
    background-size: 100%;
    height: 1500px;
    padding-top: 30px;
}

.left { /*左浮动*/
    float: left;
}

.right { /*右浮动*/
    float: right;
    padding-top: 0;
}

/*index*/
.classify { /*分类栏 背景色 宽度 内外边距 边线 圆弧*/
    background-image: url(../img/bgi3.png);
    width: 100px;
    margin-left: 25px;
    border: 2px solid lavenderblush;
    border-radius: 10px;
    text-align: center;
}

.classify b {
    color: palevioletred;
}

.classify .choose {
    background-color: rgba(255, 255, 255, 0.5); /*设置背景半透明*/
}

.blog_list {
    width: 100%;
}

.blog_list img {
    width: 25px;
}

.blog_list ul li {
    float: right;
}

.blog {
    background-image: url(../img/bgi4.png);

    background-size: 100%;
    width: 945px;
    height: 85px;
    margin: auto;
    margin-bottom: 30px;
    padding: 18px;
    border: 2px solid lavenderblush;
    border-radius: 10px;
    display: block;
}

.blog a {
    display: block;
    padding-bottom: 10px;
}


/*detail*/
.side {
    width: 200px;
    margin: 0 25px;
    background-color: lavenderblush;
    border: 2px solid lightpink;
}

.side img {
    width: 50px;
}

.middle {
    width: 850px;
    margin-left: 20px;
    background-color: lavenderblush;
    border: 2px solid lightpink;
}

.form_login {
    width: 350px;
    margin: auto;
}

.form_login img {
    margin-bottom: -5px;
    width: 350px;
}

.form_login form {
    display: block;
    background-color: rgba(255, 255, 255, 0.5); /*设置背景半透明*/
    padding: 20px 0;
}

.form_login input {
    width: 306px;
    height: 50px;
    border: 2px solid gray();
    border-radius: 10px;
    margin: 20px;
}

.form_login a {
    display: block;
    width: 85px;
    text-align: center;
    margin: auto;
}

.register_form .code_pwd {
    width: 220px;
    margin-right: 0;
}

.register_form img {
    width: 80px;
}

.user_box {
    background-image: url(../img/bgi1.png);
    background-size: 100%;
    height: 150px;
}

.user_box img {
    width: 120px;
    width: 120px;
    height: 120px;
    position: absolute;
    background-size: 100%;
    left: 45%;
    top: 15%;
    border-radius: 50%;
}

.user_box ul {
    padding-left: 80px;
}

.user_box li, .user_box td {
    color: lavender;
    font: 400 20px "黑体";
}

.user_box .writer_box_name {
    font-weight: 800;
    font-size: 30px;
    padding: 20px 0;
}

.user_box .user_box_sign {
    width: 400px;
}

.user_table table {
    margin-top: 70px;
    margin-right: 80px;
    border-collapse: collapse;
    text-align: center;
}

.user_table td {
    width: 60px;
    height: 30px;
}

.follow_writer {
    width: 80%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px lightpink solid;
    border-radius: 10px;
    text-align: center;
    line-height: 100%;
}

.user_classify {
    width: 200px;
}

.user_classify li {
    height: 100px;
    width: 200px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 100px;
}

.user_detail {
    background-color: rgba(255, 255, 255, 0.5);
    width: 880px;
    height: 100%;
    margin: 18px;
}

.user_detail div {
    /*width: 70%;*/
    display: none;
}

.user_detail .personal li {
    height: 60px;
    width: 300px;
    padding: 20px;
}

.user_detail .personal .left_li {
    text-align: right;
}

.user_detail .personal img {
    padding-left: 30px;
    width: 50px;
}

.user_detail .personal input {
    width: 230px;
    padding: 20px 0;
}

.user_detail .personal .input_r input {
    width: 20px;
}

.user_detail .blog {
    width: 800px;
}

.user_detail .f table {
    width: 100%;
    margin-top: 20px;
}

.user_detail .f td {
    width: 100px;
}

.user_detail .f img {
    width: 80px;
}

.change_classify {
    display: none;
    margin: 0;
    padding: 0;position: fixed;

    top: 30%;
    left: 45%;
    background-color:rgba(255,255,255,0.8);
    line-height: 50%;
}
.change_classify input{
    height: 50px;
    width: 200px;
    margin: auto;
}